/**
 * (created at 2011-2-13)
 */
package qiushuo.mysqlparser.ast.expression.primary;

import qiushuo.mysqlparser.generator.SQLType;

/**
 * stand for <code>*</code>
 * 
 * @author <a href="mailto:QiuShuo1985@gmail.com">QIU Shuo</a>
 */
public class Wildcard extends PrimaryExpression {
    @Override
    public String generateSql(SQLType type) {
        switch (type) {
        case MySQL:
            return "*";
        default:
            throw new UnsupportedOperationException("only mysql sql can be generated");
        }
    }
}
